﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;

namespace BCDto.Common.News.ContentCategory
{
    /// <summary>
    /// 内容分类
    /// </summary>
    public class ContentCategoryDto
    {
        /// <summary>
        /// 前端树形表格展示用的主键
        /// </summary>
        public string Key { get; set; }
        /// <summary>
        /// 内容分类Id
        /// </summary>		
        public int ContentCategoryId { get; set; }
        /// <summary>
        /// 分类名称
        /// </summary>		
        public string CategoryName { get; set; }
        /// <summary>
        /// 分类地址名称
        /// </summary>		
        public string CategoryUrlName { get; set; }
        /// <summary>
        /// 父分类Id
        /// </summary>		
        public int ParentCategoryId { get; set; }
        /// <summary>
        /// 分类级别
        /// </summary>		
        public int CategoryLevel { get; set; }
        /// <summary>
        /// 分类顺序索引
        /// </summary>		
        public int CategoryIndex { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>		
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 系統默认分类
        /// </summary>		
        public bool IsSystem { get; set; }
        /// <summary>
		/// 已启用
        /// </summary>		
        public bool Enabled { get; set; }
        /// <summary>
        /// 子节点信息
        /// </summary>
        public List<ContentCategoryDto> Children { get; set; }
        /// <summary>
        /// 已是叶子节点
        /// </summary>
        public bool IsLeaf { get; set; }

    }
}

